/*
 * Copyright By Peak3
 * Copyright By c336bf6ff03a756989bb456b5b5e3271228d43ed38461eb5cb5755d17a2fc9b8
 * All rights reserved.
 *
 * If you are not the intended user, you are hereby notified that any use, disclosure, copying, printing, forwarding or
 * dissemination of this property is strictly prohibited. If you have got this file in error, delete it from your system.
 */

package com.vv.tools.common.message;

import lombok.Getter;

/**
 * @author liwen
 */
@Getter
public class CustomerBizException extends RuntimeException {

    private final ResultEnum result;

    private final transient Object[] params;

    public CustomerBizException(ResultEnum result, Object... params) {
        super(result.format(params));
        this.result = result;
        this.params = params;
    }

}
